package com.pro.service;

import com.pro.pojo.JsCourse;
import com.pro.pojo.JsUser;
import com.pro.pojo.OrderQuantity;

import java.util.Map;

/**
 * @Author 谭金诚
 * @Description TODO
 * @Date 2022/1/7 16:00
 * @Version 1.0
 */
public interface SystemIndexService {

    OrderQuantity getSystemIndexNums();

    Integer getBeforeUserNums(String startDate , String endDate);

    Map<String, Object> getNowMonthCourseNums();

    Map<String, Object> getNowMonthProductNums();

    Map<String, Object> getNowMonthUserNums();

    Map<String, Object> getCourseDay();

    Map<String, Object> getProductDay();

    Map<String, Object> getBeforeUserDay();

    JsCourse getCourseStatusNums(JsCourse jsCourse);

    //修改用户信息
    boolean updateUser(JsUser user);

    //获取教师首页信息
    OrderQuantity getSystemIndexTeacherNums();

    //获取运营首页信息
    OrderQuantity getSystemIndexOperateNums();

    //获取人事首页信息
    OrderQuantity getSystemIndexPersonnelMattersNums();

    //获取教师运营首页信息
    OrderQuantity getSystemIndexTeacherOperate();

    //获取运营人事首页信息
    OrderQuantity getSystemIndexOperatePersonnelmatters();

    //查询人事教师首页
    OrderQuantity getSystemIndexPersonnelmattersTeacher();

    //获取教师运营人事首页
    OrderQuantity getSystemIndexAll();

}
